package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @AdminRole
 * @(admin_role)
 * @version : Ver 1.0
 */
@TableName("admin_role")
public class AdminRole implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:
	 * @字段:id INT(10)
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;


	/**
	 * @备注:
	 * @字段:name VARCHAR(128)
	 */
	private String name;


	/**
	 * @备注:是否可用,1：可用，0不可用
	 * @字段:available CHAR(1)
	 */
	private String available;


	public AdminRole(){
	}

	public AdminRole(
		Integer id
	){
		this.id = id;
	}



	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return this.id;
	}


	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}


	public void setAvailable(String available) {
		this.available = available;
	}

	public String getAvailable() {
		return this.available;
	}
}
